package com.hmdp.mapper;

import com.hmdp.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 2025/07/15
     * 根据电话查询用户信息
     */
//    @Select("select * from tb_user where phone = #{phone}")
//    User queryUserInfoByPhone();

    /**
     * 2025/07/15
     * 添加新用户
     */
//    void addNewUser(User user1);
}
